package ZY407;

public class ZY02 {
        private String name;
        private int stuid;
        void setName(String name1){
            name=name1;
        }
        String getName(){
            return name;
        }
        void setStuid(int id){
            if(id<=0){
                System.out.println("...");
            }else if(id>=37){
                System.out.println("...");
            }else {
                stuid=id;
            }
        }
        int getStuid(){
            return stuid;
        }

        void like(){
            System.out.println(name+"喜欢看水");
        }
        void sc(){
            System.out.println(name+"我喜欢♥^_^");
        }
    }

